From: Matthias Clasen Date: Wed, 16 Jul 2008 13:51:56 +0000 (+0000) Subject: Don't free a GFile. Reported by Sebastien Bacher X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~428^2^2~31639 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f815c34a2b975ec7a74798850dd05527a6d80db7;p=gtk4.git Don't free a GFile. Reported by Sebastien Bacher * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't free a GFile. Reported by Sebastien Bacher svn path=/trunk/; revision=20843 --- diff --git a/ChangeLog b/ChangeLog index 6a5d882bd5..41280b3e05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-15 Matthias Clasen + + Bug 543244 – crashes when renaming a bookmark + + * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't + free a GFile. Reported by Sebastien Bacher + 2008-07-15 Matthias Clasen Bug 339591 – Detect list of availible cover pages diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index 8f8e9c8331..c462b3f444 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -1127,7 +1127,7 @@ _gtk_file_system_set_bookmark_label (GtkFileSystem *file_system, if (g_file_equal (file, bookmark->file)) { - g_free (bookmark->file); + g_free (bookmark->label); bookmark->label = g_strdup (label); changed = TRUE; break;